package day02;
//把一个文章中所有的单词反转输出
//输入：You think you can
//输出 uoY kniht ouy nac

public class test02 {
    public static void main(String[] args) {
        String exp="You think you can";
        System.out.println(exp);
        for (String s: exp.split(" |\\;|\\.|\\?")){
            for(int i=s.length()-1; i>=0; i--){
                System.out.print(s.toCharArray()[i]);
            }
            System.out.print(" ");
        }

    }
}
